package com.virtualCat.common;

public class Const {
    public enum OrderType{
        CANCELED(0,"已取消"),
        NO_PAY(1,"未支付"),
        PAID(2,"已付款"),
        REFUND_WAIT(3,"申请退款"),
        REFUND_SUCCESS(4,"退款成功"),
        SHIPPED(5,"已发货"),
        ORDER_SUCCESS(6,"订单完成"),
        ORDER_CLOSE(7,"订单关闭");
        private int code;
        private String type;
        private OrderType(int code,String type){
            this.code =code;
            this.type= type;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public interface TradeStatus{
        String SUCCESS="SUCCESS";
        String NOTPAY = "NOTPAY";
        String CLOSED = "CLOSED";
        String USERPAYING = "USERPAYING";
        String REFUND = "REFUND";
        String PAYERROR = "PAYERROR";
    }

    public static String uploadPath = "E:/test/";//上传文件路径

    public static String admin_login = "admin_login";//登陆session的key
}
